package com.wing.purchase.model.request;

import com.wing.purchase.model.entity.PurchasePlanDetail;
import com.wing.purchase.model.entity.PurchaseQuotationDetail;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.wing.purchase.model.entity.PurchaseQuotation;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 报价单Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PurchaseQuotationForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 报价单号
     */
    private String quotationNo;

    /**
     * 询价单ID
     */
    private Long purchaseEnquiryId;

    /**
     * 报价状态
     */
    private PurchaseQuotation.Status status;

    /**
     * 供应商ID
     */
    private Long supplierId;

    /**
     * 报价单明细集合
     */
    private List<PurchaseQuotationDetail> purchaseQuotationDetails = new ArrayList<>();

    public interface Add{}

    public interface Update{}
}
